package com.ruoyi.dynamic.model.pojo.result.app;

import com.ruoyi.dynamic.model.pojo.entity.RoomVoteMusic;
import com.ruoyi.dynamic.model.pojo.entity.RoomVoteMusicResource;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@Schema(description = "APP-房间歌曲投票信息")
public class AppRoomVoteMusicResult implements Serializable {

    @Schema(description = "当前投票id")
    private Long id;

    @Schema(description="房间id")
    private Long roomId;

    @Schema(description="用户id")
    private Long userId;

    @Schema(description="投票标题")
    private String title;

    @Schema(description="投票时长")
    private Integer voteTime;

    @Schema(description="0未开始1进行中2已结束")
    private Integer status;

    @ApiModelProperty("是否模板")
    private Integer isTemplate;

    @ApiModelProperty("我是否投票")
    private boolean isVote;

    @Schema(description = "投票资源")
    private List<RoomVoteMusicResource> resources;

    @Schema(description="剩余时长")
    private Integer residueTime;

    @Schema(description = "来自id")
    private Long fromId;




}
